<header id="header">
		<hgroup>
			<h1 class="site_title"><a href="/admin">CMS Admin</a></h1>
			<h2 class="section_title">Dashboard</h2><div class="btn_view_site"><a href="/">View Site</a></div>
		</hgroup>
</header>
<?php
$frontController = Zend_Controller_Front::getInstance();

$controllerName = $frontController->getRequest()->getControllerName();
$actionName = $frontController->getRequest()->getActionName();

if ($controllerName == "index")
{
    $controllerName = "Dashboard";
}
?>
<section id="secondary_bar">
    <div class="user">
        <p>John Doe (<a href="#">3 Messages</a>)</p>
        <a class="logout_user" href="#" title="Logout">Logout</a> 
    </div>
    <div class="breadcrumbs_container">
        <article class="breadcrumbs">
            <a href="/admin">Website Admin</a> 
            <div class="breadcrumb_divider"></div> 
            
            <?php
            if ($actionName != "index")
            {
                echo "<a href='/admin/$controllerName' >".ucwords($controllerName)."</a>";
                echo "<div class='breadcrumb_divider'></div>";
                echo "<a class='current'>".ucwords($actionName)."</a>";
            }else{
                echo "<a class='current'>".ucwords($controllerName)."</a>";
            }
            ?>
            
        </article>
    </div>
</section>

